package cn.yunyichina.provider.merchant;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by kevin on 2017/12/6.
 */
public class MerchantApp {
    private static Logger logger = LoggerFactory.getLogger(MerchantApp.class);
    private static final String CONFIGURATION = "applicationContext.xml";

    public static void main(String[] args) {
        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext(CONFIGURATION);
        applicationContext.start();
        logger.info("--------------- yyt-provider-merchant service started ---------------");
        com.alibaba.dubbo.container.Main.main(args);
    }
}
